﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SocialLearning
{
    public class UAC_RegistrationDetails : I_UAC_RegistrationDetails
    {
        #region Public Methods

        /// <summary>
        /// Registers the new account.
        /// </summary>
        /// <param name="basicDetails">The basic details.</param>
        /// <param name="advanceDetails">The advance details.</param>
        /// <param name="marketingDetails">The marketing details.</param>
        /// <param name="educationDetails">The education details.</param>
        /// <param name="accountPassword">The account password.</param>
        /// <param name="secretQuestion">The secret question.</param>
        /// <param name="secretPasscode">The secret passcode.</param>
        /// <returns></returns>
        public UAC_Account RegisterNewAccount(I_UAC_BasicDetails basicDetails, I_UAC_AdvancedDetails advanceDetails, I_UAC_MarketingDetails marketingDetails, I_UAC_EducationalBackground educationDetails, string accountPassword, string secretQuestion, string secretPasscode)
        {
            UAC_Account newaccount = new UAC_Account();
            newaccount.BasicAccountDetails = basicDetails;
            newaccount.AdvancedAccountDetails = advanceDetails;
            newaccount.EducationBackground = educationDetails;
            newaccount.MarketingDetails = marketingDetails;
            newaccount.Password = accountPassword;
            newaccount.SecretPassCode = secretPasscode;
            newaccount.SecretQuestion = secretQuestion;
            return newaccount;
        }

        #endregion

        #region Engine Implementation

        #endregion
    }
}
